<div class="container">

    {{#if reqs.header}}
        <div class="page-header">
            <h1 class="text-center">{{reqs.header}}</h1>
        </div>
    {{/if}}

    <form action="" method="post" class="form login col-sm-6 col-sm-offset-3" data-stage="{{reqs.stage}}">
        <fieldset class="row">
            {{#each reqs.callbacks}}
                {{#equals type "ConfirmationCallback"}}
                    {{#if ../showRememberLogin}}
                        {{> login/_RememberLogin }}
                    {{/if}}
                {{/equals}}

                <div class="form-group">
                    {{callbackRender}}
                </div>
            {{/each}}

            {{> login/_SelfService }}
            {{#if firstUserNamePassStage}}
                {{#if showSocialLogin}}
                    {{> login/_SocialAuthn }}
                {{/if}}
            {{/if}}
        </fieldset>
    </form>
</div>
